<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cny')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cny" data-rule="required" class="form-control" step="0.0001" name="row[cny]" type="number" value="{$row.cny}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cny_balance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cny_balance" class="form-control" step="0.0001" name="row[cny_balance]" type="number" value="{$row.cny_balance}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sac')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sac" data-rule="required" class="form-control" step="0.0001" name="row[sac]" type="number" value="{$row.sac}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sac_balance')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sac_balance" class="form-control" step="0.0001" name="row[sac_balance]" type="number" value="{$row.sac_balance}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cny_freeze')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cny_freeze" class="form-control" step="0.0001" name="row[cny_freeze]" type="number" value="{$row.cny_freeze}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-change_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[change_time]" type="text" value="{$row.change_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_sn" class="form-control" name="row[order_sn]" type="text" value="{$row.order_sn}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Deal_sn')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-deal_sn" class="form-control" name="row[deal_sn]" type="text" value="{$row.deal_sn}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-desc" class="form-control" name="row[desc]" type="text" value="{$row.desc}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
